﻿using System.Web.Mvc;
using MvcGrid.Models.Grid;

namespace Project.MVC.Web.Models.Grid
{
    [ModelBinder(typeof(GridModelBinder))]
    public class GridSettings
    {
        public bool IsSearch { get; set; }
        public int PageSize { get; set; }
        public int PageIndex { get; set; }
        public string SortColumn { get; set; }
        public string SortOrder { get; set; }

        //MANH.NGUYEN - 12/10/2011
        public string SearchField { get; set; }
        public string SearchString { get; set; }
        public string SearchOper { get; set; }

        public MvcGrid.Models.Grid.Filter Where { get; set; }
    }
}